package com.example.administrator.szb.activity.luyan.model;

import android.app.Activity;

import com.example.administrator.szb.http.HttpUtils;
import com.example.administrator.szb.http.OnResultListener;
import com.example.administrator.szb.http.URLAddress;

import java.util.Map;

/**
 * Created by stone on 2018/1/29.
 */

public class MyLuyanModelImpl implements MyLuyanModel{
    @Override
    public void getALl(Activity activity,Map<String, Object> map, OnResultListener listener) {
        String url = URLAddress.LUYAN_GETALL;
        HttpUtils.post(activity,url,map,listener);
    }

    @Override
    public void getMyAll(Activity activity,Map<String, Object> map, OnResultListener listener) {
        String url = URLAddress.LUYAN_GETBAOMINGALL;
        HttpUtils.post(activity,url,map,listener);
    }
}
